<table width="750" border="0" cellpadding="0" cellspacing="0" class="tableMainBodyFont">
  <tr>
    <td width="650" align="left">
      <center>
        <table width="750" border="0" align="center" cellpadding="2" cellspacing="0" bgcolor="#DDDDDD" class="tableMainBodyFont" style=" padding-left:20px;">
          <tbody>
            
            <tr>
              <td>&nbsp;</td>
              <td width="73%" colspan="4">&nbsp;</td>
            </tr>
            <tr>
              <td width="20%">ID Pengguna </td>
              <td colspan="4">:
                <input name="username" id="username" size="12" maxlength="30" type="text" value=""/></td>
            </tr>
            <tr>
              <td>Kata Laluan</td>
              <td colspan="4">:
                <input name="passwd" id="passwd" type="password" size="12" maxlength="20" /></td>
            </tr>
            <tr>
              <td>Masukkan Semula<br />
              Kata Laluan</td>
              <td colspan="4">:
                <input name="passwd_confirm" id="passwd_confirm" type="password" size="12" maxlength="10" /></td>
            </tr>
            <tr>
              <td width="20%">Peranan</td>
              <td colspan="4">:
<?
while ($role = pg_fetch_array($roles)) {
	
?>
                <input class="checkBox" name="role_ids[]" type="checkbox" value="<?=$role['id']?>" /><?=$role['name']?> &nbsp;
<?
}
?>
			  </td>
            </tr>
                        
            <tr>
              <th colspan="5">&nbsp;</th>
            </tr>
          </tbody>
        </table>
        <br />
        <input name="submit22" type="submit" value="Simpan"  class="button"/>
        <input name="button2" type="button" onclick="location='pengguna.php?act=user_list'" value="Batal"  class="button"/>
        <input name="action2" value="hantar" type="hidden" />
        <input name="nomatrik" value="<?=$_REQUEST[find_nomatrik]?>" type="hidden" />
        <input name="student_id" value="<?=$student[id]?>" type="hidden" />
      </center>
    </td>
  </tr>
</table>

